package com.zemb.flxwear.Bean;

import com.zemb.flxwear.Utils.DeviceUtils;

import java.io.Serializable;

public class ReportItem implements Serializable {
    public DeviceUtils.Category type;
    public String result;
    public String time;
    public ReportItem() {
    }

    public ReportItem(DeviceUtils.Category type, String result, String time) {
        this.type = type;
        this.result = result;
        this.time = time;
    }

    public DeviceUtils.Category getType() {
        return type==null?DeviceUtils.Category.BLOOD_PRESSURE:type;
    }

    public String getResult() {
        return result==null?"":result;
    }

    public String getTime() {
        return time==null?"":time;
    }
}
